package com.supreme.studyserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

//@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "tbl_cpu")
public class Cpu extends BaseEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer cpuId;

    private String cpuName;

    private String cpuSpec;

    private Integer cpuType;

    private Integer cpuStatus;

    private Boolean deleteStatus;

    @JsonIgnore
    @TableField(exist = false)
    private Boolean isDelete;
}
